package com.anyang.mq;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author  anyang
 * Email: 1300378587@qq.com
 * Created Date:2019-11-12 09:54
 */
@Slf4j
@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
@EnableFeignClients
@EnableDiscoveryClient
@MapperScan("com.anyang.mq.common.mapper")
public class ConsumerApplication{
    public static void main(String[] args) {
     SpringApplication.run(ConsumerApplication.class,args);
     log.info("消费者启动成功");
    }
}
